package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 审核教师表
 * </p>
 *
 * @author hpiggy
 * @since 2024-10-18
 */
@TableName("practice_check_teacher")
@ApiModel(value = "PracticeCheckTeacher对象", description = "审核教师表")
@Data
public class PracticeCheckTeacher implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("老师id（被审核的老师）")
    private Long teacherId;

    @ApiModelProperty("审核老师")
    private Long checkTeacherId;

    @ApiModelProperty("审核项目id（practice_type表）")
    private Long practiceTypeId;

    @ApiModelProperty("年级id，多个逗号隔开")
    private String yearClassId;

    @ApiModelProperty("科目id，多个逗号隔开")
    private String subjectsId;

    @ApiModelProperty("班型id,多个逗号隔开")
    private String classTypeId;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @TableLogic
    private Integer deleted;
}
